package com.auto.base.mapper;

import com.auto.base.pojo.SysRights;
import com.auto.base.pojo.SysRightsExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SysRightsMapper extends BaseMapper{
    int countByExample(SysRightsExample example);

    int deleteByExample(SysRightsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysRights record);

    int insertSelective(SysRights record);

    List<SysRights> selectByExample(SysRightsExample example);

    SysRights selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysRights record, @Param("example") SysRightsExample example);

    int updateByExample(@Param("record") SysRights record, @Param("example") SysRightsExample example);

    int updateByPrimaryKeySelective(SysRights record);

    int updateByPrimaryKey(SysRights record);
}